TBasicSmpThread Class Reference
[Base Classes for plugins]

Inheritance diagram for TBasicSmpThread:

ISMPThread TMCSMPCountedObject IMCUnknown IMCUnknown List of all members.

Public Member Functions

virtual MCCOMErr MCCOMAPI QueryInterface (const MCIID &riid, void **ppvObj)
virtual uint32 MCCOMAPI AddRef ()
virtual uint32 MCCOMAPI Release ()

Protected Member Functions

 TBasicSmpThread ()
 ~TBasicSmpThread ()

Detailed Description

Basic SMP thread class. Provides a default implementation of an ISMPThread. Derive from this so you only need to implement Work()
See also:
ISMPThread


Constructor & Destructor Documentation

TBasicSmpThread::TBasicSmpThread (   )  [inline, protected]
 

TBasicSmpThread::~TBasicSmpThread (   )  [inline, protected]
 


Member Function Documentation

virtual uint32 MCCOMAPI TBasicSmpThread::AddRef (   )  [inline, virtual]
 

Increments the reference count of the object

Reimplemented from TMCSMPCountedObject.

virtual MCCOMErr MCCOMAPI TBasicSmpThread::QueryInterface (  const MCIID &  riid,
void **  ppvObj
)  [inline, virtual]
 

Check if the object supports a given interface and returns a pointer to that interface if it does. Note that QueryInterface will increment the reference count of the object by one if the interface is found.

Parameters:
riid GUID of the interface
ppvObj A pointer to the pointer being returned.

Reimplemented from TMCSMPCountedObject.

virtual uint32 MCCOMAPI TBasicSmpThread::Release (   )  [inline, virtual]
 

Decrements the reference count of the object. If the reference count reaches zero, the object is destroyed.

Reimplemented from TMCSMPCountedObject.


The documentation for this class was generated from the following file:
Generated on Wed Dec 7 14:27:44 2005 for Carrara SDK Doc by  doxygen 1.4.5